<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Geolocation支持性检测</title>
<script type="text/javascript">
if (navigator.geolocation){
	alert("浏览器支持Geolocation API");
} else {
	alert("浏览器不支持Geolocation API");
}
</script>
<body>
</body>
</html>
